import { View, Text } from "@tarojs/components";
import { FC } from "@tarojs/taro";
import IsInitailzed from "@/components/hoc/isInitailzed";
import useData from "./useData";
import styles from "./index.module.less";
import User from "./component/user";
import Menu from "./component/menu";
const Index: FC = () => {
  const data = useData();

  return (
    <View className={styles["wode-wrapper"]}>
      <User userInfo={data.userInfo} onLogin={data.onLogin} />
      <Menu />
    </View>
  );
};

export default Index;
